<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GoodsFile extends Base
{
    // 数据表名
    protected $table = 'goods_files';

    // 数据主键
    protected $primaryKey = 'file_id';

    // 隐藏字段
    protected $hidden = ['goods_id','created_at'];

    // 批量赋值
    protected $fillable = ['type', 'path'];

    // 自动维护时间字段
    public $timestamps = false;

}
